vulkancontext: Remove usage of VK_ERROR_INCOMPATIBLE_VERSION_KHR
authorTimm Bäder <mail@baedert.org>
Tue, 15 Dec 2020 14:04:48 +0000 (15:04 +0100)
committerTimm Bäder <mail@baedert.org>
Wed, 16 Dec 2020 07:26:46 +0000 (08:26 +0100)
According to
https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/html/chap46.html
this has been removed. It also breaks the build on my system

gdk/gdkvulkancontext.c

index 917b443f94995105d1853462455adad1bafd8b48..d0e47055c9f137a8e149f6535316f21a5cc6a346 100644 (file)
@@ -210,8 +210,6 @@ gdk_vulkan_strerror (VkResult result)
       return "An unknown error has occurred; either the application has provided invalid input, or an implementation failure has occurred.";
 #endif
 #if VK_HEADER_VERSION >= 135
-    case VK_ERROR_INCOMPATIBLE_VERSION_KHR:
-      return "Acceleration structure serialized with version as the version information is not compatible with device.";
     case VK_THREAD_IDLE_KHR:
       return "A deferred operation is not complete but there is currently no work for this thread to do at the time of this call.";
     case VK_THREAD_DONE_KHR: